package com.soft.javase.day02.practice.override;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/16
 */
public class Test {
    public static void main(String[] args) {
        Employee employee = new Employee("张三", "合肥", 50000);
        Manager manager = new Manager("李四", "南京", 70000, "开发部");
        Director director = new Director("王五", "杭州", 90000, 5000);

        employee.show();
        System.out.println();
        manager.show();
        System.out.println();
        director.show();
    }
}
